﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="longRunningTaskManager" type="Sustainalytics.LongRunningTaskManager.LongRunningTaskManagerSettings, Sustainalytics.LongRunningTaskManager" />
    <section name="longRunningTaskManagerHost" type="Sustainalytics.LongRunningTaskManager.Interface.LongRunningTaskManagerHostConfiguration, Sustainalytics.LongRunningTaskManager.Interface" />
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
  <!-- LRTM config -->
  <longRunningTaskManager maxOverallManagedTasks="30" maxTasksPerUser="5">
  </longRunningTaskManager>
  <!-- LRTM host config -->
  <longRunningTaskManagerHost diskFileManagerBaseDirectory="TaskResult" taskStatusStartIntervalMs="0" taskStatusUpdateIntervalMs="500" uploadTemporaryDirectory="TaskResult\upload_temp">
  </longRunningTaskManagerHost>
  <connectionStrings>
    <add name="ClientPlatform" connectionString="mongodb://localhost:27017/ClientPlatform" />
    <add name="ValidationRules" connectionString="mongodb://localhost:27017/Validation" />
  </connectionStrings>
  <appSettings>
    <add key="LRTMPostTimeOut" value="3600000" />
    <add key="RedisCache" value="localhost" />
    <add key="DistributionDataSet" value="8" />
    <add key="DistributionDataSetBackup" value="10" />
    <add key="ComputationDataSet" value="9" />
    <add key="ComputationDataSetBackup" value="11" />
    <add key="RedisChannel" value="ClusterChannel" />
    <add key="ControversiesServiceUrl" value="http://localhost:10280/controversiesserv" />
    <add key="RedisServer" value="localhost" />
    <add key="httpHostUrl" value="http://localhost:10280/lrtmserv" />
    <add key="httpsPort" value="443" />
    <add key="UseHttps" value="false"/>
    <add key="screeningToolUrl" value="http://localhost:10280/screeningtoolserv" />
    <add key="screeningToolReportResourceUrl" value="/api/v1/export" />
    <add key="portfolioUrl" value="http://localhost:10280/portfolioserv" />
    <add key="portfolioReportResourceUrl" value="/api/v1/export" />
    <add key="portfolioSecurityUrl" value="/api/v1/exportPortfolioSecurity" />
    <add key="portfolioUploadSecurityUrl" value="/api/v1/uploadPortfolioSecurity" />
    <add key="portfolioMatchedSecurityUrl" value="/api/v1/exportPortfolioMatchedSecurity" />
    <add key="portfolioMatchDownloadTempFolder" value="C:/Services/Sustainalytics.Portfolios.Service/DownloadPortfolioMatchTemp" />
    <add key="portfolioUploadTempFolder" value="C:/Services/Sustainalytics.Portfolios.Service/UploadTemp" />
    <add key="productInvolvementUrl" value="http://localhost:10280/productinvolvementserv" />
    <add key="productInvolvementReportResourceUrl" value="/api/v1/companyassessments/export" />
    <add key="insightsUrl" value="http://localhost:10280/insightsserv" />
    <add key="insightsResourceUrl" value="/api/v1/files" />
    <add key="governanceUrl" value="http://localhost:10280/governanceserv" />
    <add key="governanceResourceUrl" value="/api/v1/files" />
    <add key="ESGRatingDataExport" value="http://localhost:10280/esgratingserv" />
    <add key="ESGRatingServiceUrl" value="http://localhost:10280/esgratingserv" />
    <add key="ESGRatingDataExportResourceUrl" value="http://localhost:10280/esgcomputingserv/api/v1/esgcompute" />
    <!--dont change the ip for this one when you deploy, leave localhost, will be modified in code, at runtime  -->
    <add key="ESGComputeURL" value="http://localhost:10280/esgcomputingserv/api/v1/esgcompute" />
    <add key="ESGRatingWeigthMatrixUploadResourceUrl" value="/api/v1/esgratings/weightmatrices" />
    <add key="ESGRatingWeightMatrixUploadTempFolder" value="C:/Services/Sustainalytics.ESGRatings.Service/WeightMatrixUploadTemp" />
    <add key="accesKeyId" value="AKIAJKGZZMOFAVOVLHJA" />
    <add key="awsSecretKey" value="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" />
    <add key="s3bucket" value="dev-globalaccess-europe" />
	<add key="s3-governance-reports" value="dev-globalaccess-europe/GovernanceReports" />
    <add key="s3ServiceEndPoint" value="https://s3-eu-west-1.amazonaws.com/" />
    <add key="s3-risk-rating-images" value="risk-rating-images" />
    <add key="s3prefix-risk-rating-images" value="Dev" />
    <add key="foxit.licensekey" value="FMG10NPDMO8EMN5IhJpfkYlw9S8ie3aDSUZcAYigb0T+caKwz3IgE7jOPTHWQsjGjeKeDpbVECTL2OSG89w9C19/hqkAWIIlJvlA" />
    <add key="enableCors" value="true" />
  </appSettings>
  <system.web>
    <machineKey decryption="AES" decryptionKey="787BEDA539A6FAA20A0FC0D4AEA161E5EE8E99807A072DEEEB9353AF4D4727DD" validation="SHA1" validationKey="4301EC3E5AE7FD283BD142C195057C4808F02C83EDFFCCD692D13C5406B9046DABB1668C077DF90BA379C08F30F536FE4DA6E61AC851BDB066226587C1CAB780" />
  </system.web>
</configuration>
